package com.lynn.salary.pojo;

import java.util.List;

public class TreeNode {

	private String name;
	private String flag;
	private Object data;
	private TreeNode parent;
	private List<TreeNode> childs; 
	
	public List<TreeNode> getChilds() {
		return childs;
	}
	public void setChilds(List<TreeNode> childs) {
		this.childs = childs;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getFlag() {
		return flag;
	}
	public void setFlag(String flag) {
		this.flag = flag;
	}
	public Object getData() {
		return data;
	}
	public void setData(Object data) {
		this.data = data;
	}
	public TreeNode getParent() {
		return parent;
	}
	public void setParent(TreeNode parent) {
		this.parent = parent;
	}
	
	
}
